package com.management.commons.exception.ExceptionCode;


public enum AccountExceptionCode {
        CHANGEMESSAGE_ERROR(1001,"修改失败"),
//    GETPOWERBYID_LISTISNULL_ERROR(1002,"获取权限失败"),
//    GETALLPOWER_LISTISNULL_ERROR(1003,"获取所有权限失败"),
//    ACCOUNTNAME_ALREADY_ERROR(1004,"用户名已存在");
      ADDPROJECTROLE_ERROR(1002,"添加失败"),
    PARAMETERS_ERROR(1003,"参数校验未通过"),
    REMOVEACCOUNTROLEPROJECT_ERROR(1004,"操作失败"),
    ADDACCOUNT_ERROR(1005,"添加失败"),
    GETACCOUNTBYNAME_ERROR(1005,"请输入查询条件");



    private Integer code;
    private String message;
    AccountExceptionCode(Integer code, String message){
        this.code=code;
        this.message=message;
    }

    public Integer getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }
}
